package com.ruoyi.manage.mapper;

import java.util.List;
import com.ruoyi.manage.domain.EmpContractSalary;

/**
 * 合同工资明细Mapper接口
 * 
 * @author cf
 * @date 2025-06-04
 */
public interface EmpContractSalaryMapper 
{
    /**
     * 查询合同工资明细
     * 
     * @param salaryId 合同工资明细主键
     * @return 合同工资明细
     */
    public EmpContractSalary selectEmpContractSalaryBySalaryId(Long salaryId);

    /**
     * 查询合同工资明细列表
     * 
     * @param empContractSalary 合同工资明细
     * @return 合同工资明细集合
     */
    public List<EmpContractSalary> selectEmpContractSalaryList(EmpContractSalary empContractSalary);

    /**
     * 新增合同工资明细
     * 
     * @param empContractSalary 合同工资明细
     * @return 结果
     */
    public int insertEmpContractSalary(EmpContractSalary empContractSalary);

    /**
     * 修改合同工资明细
     * 
     * @param empContractSalary 合同工资明细
     * @return 结果
     */
    public int updateEmpContractSalary(EmpContractSalary empContractSalary);

    /**
     * 删除合同工资明细
     * 
     * @param salaryId 合同工资明细主键
     * @return 结果
     */
    public int deleteEmpContractSalaryBySalaryId(Long salaryId);

    /**
     * 批量删除合同工资明细
     * 
     * @param salaryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmpContractSalaryBySalaryIds(Long[] salaryIds);
}
